import * as npmLog from 'npmlog';

// 设置日志输出级别
(npmLog as any).level = process.env.LOG_LEVEL || 'info';
// 添加自定义命令
npmLog.addLevel('success', 2000, { fg: 'green', bold: true });

export const log = npmLog;
